package com.example.nyf.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Data
@ToString
public class SysRoleDTO {
    private Integer id;

    @NotNull(message = "角色名称不能为空")
    private String role_name;

    private String role_key;
    private Integer status;
    private String remark;

    private Integer add_user_id;

    private String add_user_name;

    private Integer add_time;

    private String menu_id;

    private Integer[] menu_id_array;

    private String perms;

    private String[] perms_array;
}
